package 第四天

fun main() {
    Data.sayHello()
    Data.name ="李四"
    println(Data.name)
}

object Data {
    var name = "张三"
    fun sayHello() {
        println("hello $name")
    }
}